import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/styles/main.css'
import Hammer from 'hammerjs'

// 自定义主题色
import './assets/styles/element-variables.scss'

// 导入新的样式结构
import './styles/index.css'

// 设置全局 Hammer 对象
window.Hammer = Hammer

// 导入 axios
import axios from 'axios'
Vue.prototype.$http = axios

Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app') 